"To label the bags" means to attach a small tag or sticker on each bag to provide information about what is inside or where it should go.